extends TextureButton


func _on_pressed() -> void:
	# 按钮按下时跳转到场景
	var _scene = preload("res://core/puzzles/fake_coin/contestant‌.tscn")
	get_tree().change_scene_to_packed(_scene)


func _on_mouse_entered() -> void:
	# 鼠标进入时修改按钮的调制颜色以实现高亮效果
	modulate = Color(1.2, 1.2, 1.2)


func _on_mouse_exited() -> void:
	# 鼠标离开时恢复按钮的原始颜色
	modulate = Color(1, 1, 1)
